package cn.lanqiao.common.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Film implements Serializable {
    private Integer id;

    private String filmName;

    private Integer typeId;

    private Double price;

    private Integer cinemaId;

    private Integer count;

    private Integer performerId;

    private String endTime;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    private String info;

    private String images;

    private Integer commentId;

    private Double score;

    private static final long serialVersionUID = 1L;


}